package cn.tedu.csmall.commons.web;

public enum  ServiceCode {
    OK(2000),
    ERR_BAD_REQUEST(4000),
    ERR_CONFLICT(4090),
    ERR_NOT_FOUND(4040),
    ERR_UNAUTHORIZED(4010),
    ERR_UNAUTHORIZED_DISABLED(4011),
    ERR_FORBIDDEN(4030),
    ERR_INSERT(5010),
    ERR_DELETE(5020),
    ERR_UPDATE(5030),
    ERR_JWT_EXPIRED(6000),
    ERR_JWT_MALFORMED(6010),
    ERR_JWT_SIGNATURE(6020),
    ERR_UNKNOWN(9999);
    private Integer value;
    public Integer getValue(){
        return value;
    }
    ServiceCode(Integer value){
        this.value=value;
    }
}
